package com.lntea.jdbc.spring.bean;

public class GoodsStock {
	
	public GoodsStock() {
	}
	
	public GoodsStock(int id, double amount){
		this.id = id;
		this.amount = amount;
	}
	
	public GoodsStock(long warehouseId, double amount){
		this.warehouseId = warehouseId;
		this.amount = amount;
	}

	private int id;
	private long warehouseId;
	private double amount;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public long getWarehouseId() {
		return warehouseId;
	}
	public void setWarehouseId(long warehouseId) {
		this.warehouseId = warehouseId;
	}
	
	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	@Override
	public String toString() {
		return "GoodsStock [id=" + id + ", warehouseId=" + warehouseId + "]";
	}
}
